#pragma once

namespace GameStates
{

    class MenuItem
    {
    public:
        MenuItem(const std::string& name, hgeSprite* sprite, float x, float y);
        void TellMousePos(float x, float y);
        void Render();
        bool IsColliding() const { return isColliding; }
        const std::string& GetName() const { return name; }

    private:
        hgeSprite* sprite;
        hgeRect rect;
        float x, y, width, height;
        bool isColliding;
        std::string name;
    };

}